// Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "shell/common/language_util.h"

#include "base/check.h"
#include "base/i18n/rtl.h"

#include "ohos/adapter/electron_app/electron_app_adapter.h"

namespace electron {

std::vector<std::string> GetPreferredLanguages() {
  return ohos::adapter::electron_app::ElectronAppAdapter::GetInstance()
      .GetPreferredLanguages();
}

}  // namespace electron